package com.system.common.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("seckillactivity")
public class SeckillActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id; // 活动ID

    private String name; // 活动名称
    private Date starttime; // 活动开始时间
    private Date endtime;   // 活动结束时间
    private Integer status; // 状态：0-未开始，1-进行中，2-已结束
    private Date createtime;
    private Date updatetime;

    @TableLogic
    private Integer isdel; // 逻辑删除
}
